package com.zlc.common.util.context;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.stereotype.Service;

@Service
public class ApplicationContextInit {

    @Autowired
    private SysParameterInit sysParameterInit;
    @Autowired
    private SysResourceInit sysResourceInit;
    @Autowired
    private SysDicInit sysDicInit;

    public void initContext(ApplicationContext context) {
        sysParameterInit.initParameter(context);
        sysResourceInit.initResource(context);
        sysDicInit.initDic(context);
    }

}
